home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 4
/
Amiga Tools 4.iso
/
tools
/
system-tools
/
dircomp
/
dircmp2.readme
< prev
next >
Wrap
Text File
|
1996-02-26
|
2KB
|
50 lines
short: compares directories
author: Thomas.Radtke@rz.uni-osnabrueck.de
uploader: Thomas.Radtke@rz.uni-osnabrueck.de
type: util/shell
dircmp2 is a non-standart implementation of the dircmp command. It
is not able to produce diff-style output (otherwise I'd rather call
it dirdiff ;). dircmp2 is written for a UN*X box, therefore you will
need an up-to-date ixemul library (currently 41.4).
Sample session:
$dircmp2 -h
usage: dircmp2 [-{cdfhiprt}] directory1 [directory2]
The dircmp2 command lists all files and directories of directory1, that
cannot be found in directory2. If directory2 is omitted, '.' is used
Flags:
-c compare files
-d show only directorys
-f show only files
-h this page
-i inverse comparison
-p show full pathnames
-r subdir scan
-t indent subdir results
$
Implementation note:
The source was compiled with gcc 2.7.0 (Aminet version)under
AmigaOS3.0 and IBM AIX 3.2. The only known problem occured with
KingCON version 1.3 (Amiga). Please use the dircmp2 command only
with the original CON handler.
Since the dircmp2 command may use a recursive algorithm, the stack
consumption depends on the number of subdirectories to scan. A scan of
my hard drive (dircmp2 -r /hd1 /hd1) does not succeed the standard
stacksize of 4K. The memory consumption depends mainly (with -c flag) on
the size of the biggest files to compare (files are red in whole). If
you ran out of memory, the concerning file will not be compared and you
get a warning message to stderr. This behaviour is subject of change
in future versions. Most buffers will be flushed after usage.
This software is covered by the GPL. See COPYING for details.
Thomas